package pl.edu.agh.hypergraph;

import java.util.TreeSet;

import pl.edu.agh.solid.Solid;
import pl.edu.agh.solid.SolidVertex;

public class HEHyperEdge extends HE {

	public HEHyperEdge(Solid s, SolidVertex sv) {

		this.solidId = s.getId();
		this.ownerFaces = new TreeSet<>();
		for (Integer i : sv.getFaces())
			this.ownerFaces.add(i);

	}

}
